package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Standardtype;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface StandardtypeDAO extends JpaDao<Standardtype> {

	public Standardtype findStandardtypeById(Integer id) throws DataAccessException;

	public Standardtype findStandardtypeById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByName(String name) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardtype> findStandardtypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardtype> findStandardtypeByDescriptioin(String descriptioin) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByDescriptioin(String descriptioin, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardtype> findStandardtypeByDescriptioinContaining(String descriptioin_1) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByDescriptioinContaining(String descriptioin_1, int startResult,
			int maxRows) throws DataAccessException;

	public Standardtype findStandardtypeByPrimaryKey(Integer id) throws DataAccessException;

	public Standardtype findStandardtypeByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardtype> findStandardtypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Standardtype> findAllStandardtypes() throws DataAccessException;

	public Set<Standardtype> findAllStandardtypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Standardtype> findStandardtypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Standardtype> findStandardtypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Standardtype findStandardtypeByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Standardtype findStandardtypeByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
